﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace WpfEffect.图片切换3D过渡效果
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();

            List<BitmapImage> ls_adv_img = new List<BitmapImage>();
            ls_adv_img.Add(new BitmapImage(new Uri("Resource/1.png",UriKind.Relative)));
            ls_adv_img.Add(new BitmapImage(new Uri("Resource/2.png", UriKind.Relative)));
            this.SliderImage.ls_images = ls_adv_img;
            this.SliderImage.Begin();
        }
    }
}
